import request from '@/utils/request'
import Qs from 'qs'

export function login(data) {
  const data1 = data
  return request({
    url: '/login/user/login',
    method: 'post',
    data: Qs.stringify(data1)
  })
}

export function signUp(data) {
  const data1 = data
  return request({
    url: '/login/user/signUp',
    method: 'post',
    data: Qs.stringify(data1)
  })
}

export function getImage() {
  return request({
    url: '/login/user/getImage',
    method: 'get'
  })
}
